﻿using eslib.tools.config;

namespace SpeechLib
{
    public class BaiduApiSetting
    {
        public BaiduApiSetting()
        {
        }

        public string API_Key { get; set; }
        public string Secret_Key { get; set; }
        public string User_Sig { get; set; }


        public static BaiduApiSetting Instance
        {
            get
            {
                if (_ins == null)
                {
                    _ins = GenericJsonConfig.Load<BaiduApiSetting>("baiduapi.json");
                }
                return _ins;
            }
        }
        static BaiduApiSetting _ins = null;

    }
}